#ifndef LINES_H
#define LINES_H
#pragma once

 

class cRay2d
{
public:

	TwVector2d	point;
	TwVector2d	normal;

    cRay2d(){};
    ~cRay2d(){};

};


class cRay3d
{
public:

	TwVector3d	point;
	TwVector3d	normal;

    cRay3d(){};
    ~cRay3d(){};

};

class cSegment2d
{
public:

	union
	{
		struct
		{
			cRay2d		ray;
		};
		struct
		{
			TwVector2d	point;
			TwVector2d	normal;
		};
	};
	float		distance;

    cSegment2d(){};
    ~cSegment2d(){};

};

class cSegment3d
{
public:

	union
	{
		struct
		{
			cRay3d		ray;
		};
		struct
		{
			TwVector3d	point;
			TwVector3d	normal;
		};
	};
	float		distance;

    cSegment3d(){};
    ~cSegment3d(){};

};

 

#endif   